package org.sky.logger.http.support;

import org.sky.logger.http.AbstractHttpHeadType;

import feign.RequestTemplate;

/**
 * feign 头部类型
 * 
 * @author gaofu
 *
 */
public class FeignHeadType extends AbstractHttpHeadType<RequestTemplate> {

	public Class<RequestTemplate> headType() {
		return RequestTemplate.class;
	}

	public boolean addHeader(RequestTemplate head, String key, String value) {
		head.header(key, value);
		return true;
	}

}
